<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:s="http://jboss.org/seam/faces"
	xmlns:o="http://omnifaces.org/ui"
	xmlns:of="http://omnifaces.org/functions"
	xmlns:sig="http://java.sun.com/jsf/composite/components">
		
	<sig:decorate label="#{messages['label.nome']}">
		<h:inputText id="nome" value="#{pessoaFisicaList.instance.nome}" styleClass="nome" />
	</sig:decorate>
	
	<sig:decorate label="#{messages['label.cpf']}">
		<p:inputMask value="#{pessoaFisicaList.instance.cpf}" mask="#{messages['mask.cpf']}" converter="inputConverter" />
	</sig:decorate>
	
	<sig:decorate label="#{messages['label.email']}">
		<h:inputText value="#{pessoaFisicaList.instance.meioDeContato.email}" styleClass="email" />
	</sig:decorate>	
	
	<sig:decorate label="#{messages['label.sexo']}">
           <p:selectOneMenu value="#{pessoaFisicaList.instance.sexo}">
           	<f:selectItem itemLabel="#{messages['label.selecione']}" />
           	<f:selectItems value="#{viewHelper.sexo}" />
           </p:selectOneMenu>
	</sig:decorate>
	
	<sig:decorate label="#{messages['label.estado.civil']}">
           <p:selectOneMenu value="#{pessoaFisicaList.instance.estadoCivil}">
           	<f:selectItem itemLabel="#{messages['label.selecione']}" />
           	<f:selectItems value="#{viewHelper.estadoCivil}" />
           </p:selectOneMenu>
	</sig:decorate>			
			
	<br clear="all" />
</ui:composition>